<html>
<head>
    <title></title>
</head>
<body>

<div>
    <!-- 查询条件 -->
    <div class="row">
        <div class="col-sm-12">
            <div class="form-inline">
                <div class="form-group">
                    <label class="control-label">观测点名称：</label>
                    <input placeholder="观测点名称" id="gcdmcSearch" class="form-control">
                </div>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <div class="form-group">
                    <label class="control-label">所属航道：</label>
                    <select placeholder="所属航道" id="hdpkSearch" class="form-control"></select>
                </div>

            </div>
            <br>
        </div>
    </div>

    <!-- 工具栏 -->
    <div class="row">
        <div class="col-sm-12">
            <div class="pull-left">
                <button class="btn btn-sm btn-primary" id="addBtn">
                    <i class="fa fa-plus"></i> 添加
                </button>
                <button class="btn btn-sm btn-success" id="modifyBtn">
                    <i class="fa fa-file-text-o"></i> 修改
                </button>
                <button class="btn btn-sm btn-danger" id="delBtn">
                    <i class="fa fa-trash-o"></i> 删除
                </button>
            </div>
            <div class="pull-right">
                <button class="btn btn-sm btn-info" id="searchBtn">
                    <i class="fa fa-search"></i> 搜索
                </button>
            </div>
        </div>
    </div>

    <div class="row" style="margin-top: 10px;">
        <div class="col-sm-12">
            <div>
                <table id="btTable" class="table table-condensed table-hover table-striped"></table>
            </div>
        </div>
    </div>


    <div id="modal">
        <form class="form-horizontal">
                        <input type="hidden" id="id"/>
            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>观测点名称</span>
                </div>
                <div class="col-md-10">
                    <input class="form-control" id="gcdmc" name="gcdmc">
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>观测点编号</span>
                </div>
                <div class="col-md-10">
                    <input class="form-control" id="gcdbh" name="gcdbh">
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>管理单位</span>
                </div>
                <div class="col-md-10">
                    <input class="form-control" id="gljgid" name="gljgid">
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span>位置</span>
                </div>
                <div class="col-md-10">
                    <input class="form-control" id="wz" name="wz">
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>起点坐标</span>
                </div>
                <div class="col-md-10">
                    <div class="input-group">
                        <input class="form-control" id="qdjd" name="qdjd">
                        <span class="input-group-addon">E</span>
                        <input class="form-control" id="qdwd" name="qdwd">
                        <span class="input-group-addon">N</span>
                    </div>

                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>终点坐标</span>
                </div>
                <div class="col-md-10">
                    <div class="input-group">
                        <input type="text" class="form-control" id="zdjd" name="zdjd">
                        <span class="input-group-addon">E</span>
                        <input class="form-control" id="zdwd" name="zdwd">
                        <span class="input-group-addon">N</span>
                    </div>

                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>所属航道</span>
                </div>
                <div class="col-md-10">
                    <select class="form-control" id="hdpk" name="hdpk"></select>
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>所属航段</span>
                </div>
                <div class="col-md-10">
                    <select class="form-control" id="htpk" name="htpk"></select>
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span><span style="color: red;">* </span>行政区划</span>
                </div>
                <div class="col-md-10">
                    <select class="form-control" id="xzqhid" name="xzqhid"></select>
                </div>
            </div>

            <div class="form-group">
            <div class="col-md-2 text-right">
                <span>有无基站</span>
            </div>
            <div class="col-md-10">
                <div class="checkbox">
                    <label for="yjz">
                        <input type = "radio" id="yhz" name="ywjz" value = "1">有基站
                    </label>
                    <label for="wjz">
                        <input type = "radio" id="wjz" name="ywjz" value = "0" checked>无基站
                    </label>

                </div>
            </div>
        </div>
            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span>是否进出口</span>
                </div>
                <div class="col-md-10">
                    <div class="checkbox">
                        <label for="sjck">
                            <input type = "radio" id="sjck" name="sfjck" value = "1">是
                        </label>
                        <label for="fjck">
                        <input type = "radio" id="fjck" name="sfjck" value = "0" checked>否
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group" name = "jckDiv" style="display: none">
                <div class="col-md-2 text-right">
                    <span>上行进口行政区</span>
                </div>
                <div class="col-md-10">
                    <select class="form-control" id="sxjkxzqh" name="sxjkxzqh"></select>
                </div>
            </div>
            <div class="form-group"  name = "jckDiv" style="display: none">
                <div class="col-md-2 text-right">
                    <span>上行出口行政区</span>
                </div>
                <div class="col-md-10">
                    <select class="form-control" id="sxckxzqh" name="sxckxzqh"></select>
                </div>
            </div>
            <div class="form-group"  name = "jckDiv" style="display: none">
                <div class="col-md-2 text-right">
                    <span>下行进口行政区</span>
                </div>
                <div class="col-md-10">
                    <select class="form-control" id="xxjkxzqh" name="xxjkxzqh"></select>
                </div>
            </div>
            <div class="form-group" name = "jckDiv" style="display: none">
                <div class="col-md-2 text-right">
                    <span>下行出口行政区</span>
                </div>
                <div class="col-md-10">
                    <select class="form-control" id="xxckxzqh" name="xxckxzqh"></select>
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-2 text-right">
                    <span>备注</span>
                </div>
                <div class="col-md-10">
                    <input class="form-control" id="bz" name="bz">
                </div>
            </div>

        </form>
    </div>


</div>

<ex-section id="ScriptBody">
    <script type="text/javascript" src="${request.contextPath}/js/main/modules/basic/gcdList.js?v=1.0.1"></script>
    <script type="text/javascript">
        pageLogic.initData = {
            modalParams: [
                {
                    width: 800,
                    height: 750,
                    title: "观测点"
                }
            ],
            restUrlPrefix: "/basic/gcds",
            queryMsg: {
                gcdmc: "gcdmcSearch",
                hdpk: "hdpkSearch"

            }
        };

    </script>
</ex-section>
</body>
</html>
